export default {
  path: '/resource',
  title: '资源管理',
  icon: 'flask',
  children: (pre => [
    {
      title: '组织',
      icon: 'table',
      children: [
        { path: `${pre}person/structure`, title: '结构' },
        { path: `${pre}structure/detail`, title: '结构详情' },
        { path: `${pre}person/index`, title: '人员' }
      ]
    },
    {
      title: '设备',
      icon: 'table',
      path: `${pre}page2`,
      children: [
        {
          title: '设备管理',
          children: [
            { path: `${pre}management/apply`, title: '设备申请' },
            { path: `${pre}management/entry`, title: '设备录入' }
          ]
        }
        // { path: `${pre}table/1`, title: '卡片' },
        // { path: `${pre}table/1`, title: '状态' },
        // { path: `${pre}table/1`, title: '申请' },
        // { path: `${pre}table/1`, title: '使用' },
        // { path: `${pre}table/1`, title: '维修' },
        // { path: `${pre}table/1`, title: '报废' },
        // { path: `${pre}table/1`, title: '盘点' }
      ]
    },
    {
      title: '试剂',
      icon: 'table',
      path: `${pre}page3`
    }
  ])('/resource/')
}
